package com.rul.mars.user.service;

import com.rul.mars.mbg.model.User;

/**
 * 用户缓存服务接口
 *
 * @author RuL
 */
public interface UserCacheService {


    void setUser(User user);

    void deleteUser(Long userId);

    User getUser(Long userId);

    void setAuthCode(String phone, String authCode);

    String getAuthCode(String phone);
}
